package com.baifc.wiringbean.ambiguity;

import com.baifc.wiringbean.ambiguity.annotation.Cold;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;

/**
 * projectName: spring-in-action
 * packageName: com.baifc.wiringbean.ambiguity
 * Created: 2019/5/2.
 * Auther: baifc
 * Description:
 */
@Component
//@Primary
//@Qualifier("iceCream")
//@Cold
@Cold
public class IceCream implements Dessert {


    public void introduce() {
        System.out.println("this is iceCream");
    }
}
